<script setup>

</script>

<template>
    <div class="message">
        <p>
            <slot>登录成功</slot>
        </p>
    </div>
</template>

<style scoped lang="less">
.message {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100;
    transform: translate(-50%, -50%);

    p {
        padding: 10px 10px;
        border-radius: 8px;
        opacity: 0.9;
        background-color: rgba(0, 0, 0, 0.9);
        color: #fefefe;
        text-align: center;
    }
}</style>
